package com.yhl.springtest.proxy_static;

/**
 * @author: yanghl
 * @description: TODO
 * @date: 2023/8/15 16:54
 */
public class Test {
    public static void main(String[] args) {
        // yhl的作业由monitor代理去提交
        Person yhl = new Student("yhl");
        Person monitor = new StudentProxy(yhl);
        monitor.giveTask();
    }

}

